<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>

		<rich:panel header="#{messages['point.category.label']}">
			<h:panelGrid>
				<h:outputText value="#{errorBean.errorMessage}" styleClass="error"></h:outputText>
			</h:panelGrid>

			<h:panelGrid width="100%">
				<h:panelGroup>
					<h:outputText value="*" styleClass="standardText_Mandatory" />
					<h:outputText value="#{messages['instruction']}" styleClass="standardText_Instruction" />
				</h:panelGroup>
			</h:panelGrid>

			<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
			   
			    <h:outputText></h:outputText>
				<t:message for="pointCode" styleClass="error"></t:message>
				
				<h:panelGroup>
					<h:outputText value="*" styleClass="standardText_Mandatory" />
					<h:outputLabel for="pointCode" value="#{messages['point.code.label']}" styleClass="standardText_Label" />
				</h:panelGroup>
				<h:panelGroup>
					<t:inputText id="pointCode" required="true" size="10" maxlength="10" styleClass="standardText" value=""></t:inputText>
				</h:panelGroup>
			
			
				<h:outputText></h:outputText>
				<t:message for="pointDesc" styleClass="error"></t:message>
				
				<h:panelGroup>
					<h:outputText value="*" styleClass="standardText_Mandatory" />
					<h:outputLabel for="pointDesc" value="#{messages['point.desc.label']}" styleClass="standardText_Label" />
				</h:panelGroup>
				<h:panelGroup>
					<t:inputText id="pointDesc" required="true" size="50" maxlength="50" styleClass="standardText" value=""></t:inputText>
				</h:panelGroup>
				
				
				<h:outputText></h:outputText>
				<t:message for="pointEntitlememt" styleClass="error"></t:message>
				
				<h:panelGroup>
					<h:outputText value="*" styleClass="standardText_Mandatory" />
					<h:outputLabel for="pointEntitlememt" value="#{messages['point.entitlement.label']}" styleClass="standardText_Label" />
				</h:panelGroup>
				<h:panelGroup>
					<t:inputText id="pointEntitlememt" required="true" size="10" maxlength="10" styleClass="standardText" value=""></t:inputText>
				</h:panelGroup>
				
			</t:panelGrid>
			
			<rich:spacer height="10"></rich:spacer>
			
			<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
				<h:outputText></h:outputText>
				<t:panelGrid columns="2">
					<h:commandButton value="#{messages['create']}" styleClass="button"></h:commandButton>
					<h:commandButton value="#{messages['back']}" styleClass="button"></h:commandButton>
				</t:panelGrid>
			</t:panelGrid>
			
		</rich:panel>
